

<template>

</template>


<script setup>
  new CozeWebSDK.WebChatClient({
    config: {
      bot_id: '7489454934845653032',
    },
    ui: {
        chatBot: {
            title: '小云同学',
            uploadable: true,
            width: 800
        },
        base: {
            icon: 'https://img.alicdn.com/imgextra/i2/O1CN01Pda9nq1YDV0mnZ31H_!!6000000003025-54-tps-120-120.apng'
        },
        assBtn: {
            isNeed: true
        }
       
    },
    componentProps: {
      title: 'Coze',
    },
    auth: {
      type: 'token',
      token: 'pat_9Sx5Xk4KKLWy6sF3vmBUrgJDAsq2nptLUGKvsdZvfwqJe9h4st3UcvVyWugIH5On',
      onRefreshToken: function () {
        return 'pat_9Sx5Xk4KKLWy6sF3vmBUrgJDAsq2nptLUGKvsdZvfwqJe9h4st3UcvVyWugIH5On'
      }
    }
  });
</script>